package com.frame.entity;

import java.io.Serializable;
import java.sql.Date;

/*
 * 通常，在构建域对象时，需要考虑该对象可能需要进行网络传输， 本地缓存，因此建议实现序列化接口Serializable;
 * @author Administrator
 */
public class Account implements Serializable {

	private Integer id;
	private String username;
	private String password;
	private Date birthday;
	private String email;

	public Account(String username, String password) {
		this.username = username;
		this.password = password;
	}

	public Account(Integer id) {
		this.id = id;
	}

	public Account() {
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public Date getBirthday() {
		return birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

}
